MessageDialog.CancelButton Property
Syntax
CancelButton as MessageDialogButton
The optional "cancel" button. Its Visible property is False by default.
Its default Caption is "Cancel" or the equivalent in the language used by the application. To be safe, you should set the Caption property explicitly. If clicked, its Cancel property is set to True.